cmake_minimum_required(VERSION 3.6)
project(Auth_raft)
set(BUILD_LIBRARY_TYPE "STATIC")
set(CMAKE_CXX_STANDARD 14)

add_subdirectory(libs/handy)
include_directories(libs/handy)
add_subdirectory(libs/SQLiteCpp)
include_directories(libs/SQLiteCpp/include)

add_subdirectory(libs/protobuf/cmake)
include_directories(libs/protobuf/src)
include_directories(protocol)
add_subdirectory(protocol)
add_subdirectory(Business)
include_directories(Business/Tool)
add_executable(GeeJoan_Client_CMD tests/client_cmd.cpp)
target_link_libraries(GeeJoan_Client_CMD protocol common_tool)
#include_directories(src)
#add_subdirectory(src)
#add_subdirectory(tests)

